work with date range in date picker